package de.bremoapp;


import android.app.Fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

public class CalculFragment extends Fragment {


	private Button play;
	private Button stop;
	private Button open;
	private EditText viewResponse;
	private EditText viewError;
	
	
	public CalculFragment() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
	}

	/**
	 * Initializes the Fragment
	 */
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		final View view = inflater.inflate(R.layout.calcul_layout, container, false);
		 play = (Button) view.findViewById(R.id.play);
		 stop = (Button) view.findViewById(R.id.stop);
		 open = (Button) view.findViewById(R.id.open);
		 
		 viewResponse = (EditText) view.findViewById(R.id.print_response);
		 viewError = (EditText) view.findViewById(R.id.print_error);
		 
		
		return view;
	}

	/**
	 * This method is called when the fragment is brought in the foreground
	 */
	@Override
	public void onResume() {
		super.onResume();
		
	}

	/**
	 * This method is called when the fragment is put in the background
	 */
	@Override
	public void onPause() {
		super.onPause();
		
	}
	
}
